﻿using System.Web.Mvc;

namespace Dqaqs.Web.Common
{
	public class MenuService
	{
		private readonly Controller _controller;

		public MenuService(Controller controller)
		{
			_controller = controller;
		}
		public void Set(string menu, string subMenu)
		{
			_controller.TempData["SelectedMenu"] = menu;
			_controller.TempData["SelectedSubMenu"] = subMenu;
		}
	}
}